{config_load 'layout.conf' 'meta'}
<script type="text/javascript">
	{literal}	
	function meta_open(){
	}
	function meta_validate(){
		return true;
	}
	function meta_close(){	
		return true;
	}	
	{/literal}	
</script>
{foreach $conf->values['content.def']['meta'] as $def}
	<label for="meta_{$def}">{#$def#|default:$def}</label>
	<input type="text" name="meta_{$def}" id="meta_{$def}" value="{$content->meta[$def]|default:""}"><br/>
{/foreach}